// register
import register from '../../../scripts/angular/register.js';

// routers
import WificollectRouter from '../routers/wificollect.routers.js';

// services
import WificollectService from '../services/wificollectService.js';

// controllers
import ShareController from '../controllers/share.controller.js';
import OpenController from '../controllers/open.controller.js';
import TempController from '../controllers/temp.controller.js';
import CacheController from '../controllers/cache.controller.js';
import UessituatController from '../controllers/uessituat.controller.js';


angular
	.module('wificollect.module', [
		'ngAnimate', 
		'ngSanitize', 
		'ui.router',
	    'ngMessages',  
		'chieffancypants.loadingBar', 
		'ngDialog',  
	    'mgcrea.ngStrap', 
		'oc.lazyLoad',
		'ng-sortable'
	])
	.config(WificollectRouter)
	.controller('ShareController', ShareController)
	.controller('OpenController', OpenController)
	.controller('TempController', TempController)
	.controller('CacheController', CacheController)
	.controller('UessituatController', UessituatController);


register('wificollect.module')
    .factory('WificollectService', WificollectService);